//
//  LineTextField.h
//  BCNADemo
//
//  Created by 马东朝 on 2018/4/23.
//  Copyright © 2018年 马东朝. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LineTextFieldDelegate <NSObject>
- (void)handleGetSMSCode;
@end

typedef enum _TextWay{
    TextWayIphoneNumber,
    TextWayEmail,
    TextWayVerificationCode,
    TextWayPassWord
    
}TextWay;


@interface LineTextField : UIView<UITextFieldDelegate>
{
    CGRect selfFrame;
}
@property (nonatomic, assign) id<LineTextFieldDelegate>delegate;
//block声明属性
@property (nonatomic, assign) BOOL returnRight;
@property (nonatomic, strong) UIButton *areatn;
@property (nonatomic, strong) UIButton *codeBtn;
@property (nonatomic, strong) UIButton *showBtn;
@property (nonatomic, strong) UITextField *textField;
@property (nonatomic, strong) UIView *lineView;
- (void)postSMSCodeWithPhoneDic:(NSMutableDictionary *)phoneDic;
- (void)resignFirstResponder;
- (void)setTextConentStyleWith:(TextWay)textway;
@end
